// Package article
/**
* @Project : geektime-basic-go-study
* @File    : article_author.go
* @IDE     : GoLand
* @Author  : Tvux
* @Date    : 2024/11/10 01:23
**/

package article

import (
	"context"
	"geektime-basic-go-study/webook/backend/internal/domain"
)

type ArticleAuthorRepository interface {
	Create(ctx context.Context, article domain.Article) (int64, error)
	UpdateByIdAndAuthorId(ctx context.Context, article domain.Article) error
}
